package com.haidechizi.demo.entity;

import com.haidechizi.i18n.common.annotation.I18nField;
import com.haidechizi.i18n.common.annotation.I18nModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@I18nModel(systemCode = "i18n-wev-demo",businessCode = "student")
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {
    private static final long serialVersionUID = 2353231044817552904L;

    private Long id;

    @I18nField("name")
    private String name;

    @I18nField("clazz")
    private String clazz;
}
